home *** CD-ROM | disk | FTP | other *** search
/ Clickx 22 / Clickx 22.iso / DATA / Setup.exe / ForceASPI / INSTASPI.BAT < prev    next >
Encoding:
DOS Batch File  |  2000-09-03  |  1.5 KB  |  66 lines

  1. @Echo off
  2. SET ver=1.7
  3. IF %OS%==Windows_NT Goto WinNT
  4.  
  5. :Win9x
  6. CLS
  7. Echo InstASPI %ver%
  8. Echo.
  9. Echo Windows 9x or ME Detected.
  10. Echo Windows is in : %winbootdir%
  11. Echo Installing Files...
  12. Echo   + WINASPI.DLL
  13. copy Win9x\winaspi.dll %winbootdir%\system > nul
  14. Echo   + WNASPI32.DLL
  15. copy Win9x\wnaspi32.dll %winbootdir%\system > nul
  16. Echo   + ASPIENUM.DLL
  17. copy Win9x\aspienum.vxd %winbootdir%\system > nul
  18. Echo   + APIX.VXD
  19. copy Win9x\apix.vxd %winbootdir%\system\iosubsys > nul
  20. Echo.
  21. Echo Add Registry Settings...
  22. %winbootdir%\regedit.exe /s Win9x\win9x.reg
  23. Echo Done!
  24. Echo.
  25. Echo Adaptec ASPI 4.60 (1021) Installed.
  26. Echo Reboot your PC to make the changes active.
  27. Goto End
  28.  
  29. :WinNT
  30. CLS
  31. Echo InstASPI %ver%
  32. Echo.
  33. Echo Windows NT or 2000 Detected.
  34. Echo Windows is in : %windir%
  35. IF %PROCESSOR_ARCHITECTURE%==x86 Goto Intel
  36. Goto Alpha
  37.  
  38. :Intel
  39. Echo Installing Files...
  40. Echo   + WINASPI.DLL
  41. copy WinNT\winaspi.dll %windir%\system > nul
  42. Echo   + WOWPOST.EXE
  43. copy WinNT\wowpost.exe %windir%\system > nul
  44. Echo   + WNASPI32.DLL
  45. copy WinNT\wnaspi32.dll %windir%\system32 > nul
  46. Echo   + ASPI32.SYS
  47. copy WinNT\aspi32.sys %windir%\system32\drivers > nul
  48. Echo.
  49. Echo Add Registry Settings...
  50. %windir%\regedit.exe /s WinNT\winnt.reg
  51. Echo Done!
  52. Echo.
  53. Echo Adaptec ASPI 4.60 (1021) Installed.
  54. Echo Reboot your PC to make the changes active.
  55. Goto End
  56.  
  57. :Alpha
  58. Echo Alpha CPU Detected.
  59. Echo Sorry, only Intel x86 and compatible platforms are supported.
  60. Goto End
  61.  
  62. :End
  63. SET ver=
  64. pause
  65. exit
  66.